cmake_minimum_required(VERSION 3.25)
project(SingletonDemo)

# 设置C++标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

 # UTF-8 编码配置
if( WIN32)
add_compile_options(/utf-8)
endif( WIN32)

enable_testing()
# add_subdirectory(factory)
add_subdirectory(test)